/**
 *
 */

/**
 * @author kowalczy
 *
 */
class HelloGroovyMain {

    static main(args) {
        println "Hello Groovy"

        def addr = InetAddress.getLocalHost();
        java.net.InetAddress[] addresses=InetAddress.getAllByName(addr.getHostName());
        for (address in addresses) {
            if (!(address.getHostAddress().startsWith("0"))) {
                println "host address "
                println address;
                //project.properties.localIP=address.getHostAddress();
            }
        }
    }
}